﻿#include "testplugin_plugin.h"

#include "myitem.h"

#include <qqml.h>
#include <QDebug>

TestPluginPlugin::TestPluginPlugin(QObject *parent)
    : QQmlExtensionPlugin(parent)
{
#ifdef QT_STATIC
    Q_INIT_RESOURCE(testqmlqrc);
#endif
}

void TestPluginPlugin::registerTypes(const char *uri)
{
    // @uri com.mycompany.qmlcomponents
    qmlRegisterType<MyItem>(uri, 1, 0, "MyItem");
}

